package hotel.switchs.oversea.online.service;

import hotel.base.oversea.dto.switchs.SwitchMasterHotelInfoDto;
import hotel.base.oversea.service.BaseService;
import hotel.base.oversea.utils.Result;
import hotel.switchs.oversea.api.VO.SwitchMasterHotelVo;
import hotel.switchs.oversea.api.entity.SwitchMasterHotelInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author lmf
 * @Date 2020/5/14 14:40
 **/
@Service
public interface SwitchMasterHotelInfoService extends BaseService<SwitchMasterHotelInfo> {

    /**
     * 获取母酒店的列表
     */
    Result<Object> getMasterHotelList(Map<String, Object> param, int pageSize, int pageIndex);

    List<SwitchMasterHotelInfoDto> queryPageReturnDto();

    Result<Object> saveMasterHotelInfo(Map<String, List<SwitchMasterHotelVo>> switchHotelInfoVosMap);

}
